var exec = require('cordova/exec')
var platform = require('cordova/platform')

module.exports = {
  ocr: function (imgBase64, onSuccess, onError) {
    exec(onSuccess, onError, 'MyOcr', 'ocr', [imgBase64])
  }
}
